﻿namespace Test30.Engine
{
    public class HasteSelfMove:Move
    {
        public override string Description => "It ^ohastes^o itself.";

        public override bool WillUseMove(Monster monster, Entity target)
        {
            // don't haste redundantly
            if (monster.Conditions.Haste.IsActive) return false;

            return true;
        }

        public override Action GetAction(Monster monster, Entity target)
        {
            return new HasteAction(monster, 20, 1);
        }

        public override float GetExperience(Race race)
        {
            //### bob: total guesswork
            return 20;
        }
    }
}
